package com.chen.authority.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 代码生成Mapper接口
 *
 * @author chengy
 * @date 2022-11-19
 */
public interface CodeGenerateMapper {
    Page<Map<String, Object>> selectTableListByPageAndCondition(Page<Map<String, Object>> page, @Param("name") String name, @Param("description") String description);

    Map<String, String> selectTableByName(String name);

    List<Map<String, String>> selectColumnsByTableName(String name);
}
